<head><title>OSA Codeshare System - Register</title>
<script type="text/javascript">
<!--
function check(){
	event.returnValue=false;
	with(document.input){
		if(user.value.length==0){
			alert("Username cannot be empty!");return;
		}
		if(document.input.pwd.value.length==0){
			alert("Password cannot be empty!");return;
		}
	}
	event.returnValue=true;
}
//-->
</script></head>
<body>
<form name="input" action="php/register.php" method="post" onSubmit="check()">
Username*:
<input type="text" name="user" id="user" maxLength=20 />
Nickname:
<input type="text" name="nick" id="nick" maxLength=20 />
Password*:
<input type="password" name="pwd" id="pwd" maxLength=16 />
<input type="submit" value="Register">
</form>
</body>
